﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ManageEdit.aspx.cs" Inherits="CJJCH.Web.Manage.ManageEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../Style/SystemCss.css" rel="stylesheet" type="text/css" />
    <script src="../JScript/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script src="../Script/JQcheck.js" type="text/javascript"></script>
    <script type="text/javascript">
        function checkform() {
            if (document.getElementById("txtUserPw1d").value != document.getElementById("txtUserPw2d").value) {
                alert("两次输入的密码不一致！");
                document.getElementById("txtUserPw2d").focus();
                return false;
            }
            if (IsNothing($("#txtRealName"), "请输入姓名！")) {
                return false;
            }

            if (IsNothing($("#txtUserTel"), "请输入联系电话！")) {
                return false;
            }
            return true;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="BodyRight" style="width: 100%;">
        <div class="BoxHeader_Test">
            <div class="Left_Test">
            </div>
            <div class="Linkbf12" style="padding: 8px 0px 0px 10px; color: #000000; font-size: 12px;
                font-weight: bold;">
                <asp:HyperLink ID="lnkManagerList" runat="server" Text="管理员列表"></asp:HyperLink>
                >>
                <asp:Label ID="lblQue" runat="server" Text="修改管理员"></asp:Label></div>
        </div>
    </div>
    <div class="Main_body">
        <div id="divHidden" runat="server" visible="false">
            <asp:Label ID="lblID" runat="server"></asp:Label>
            <asp:Label ID="lblkeyword" runat="server"></asp:Label>
        </div>
        <div class="RBodyTable_x3 Link_font" style="width: 100%; margin: 2px auto;">
            <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"
                class="font">
                <tr>
                    <td class="Left" height="100%">
                    </td>
                    <td height="100%" style="width: auto; height: 100%; background: #d7e7ff;">
                        <div class="MainTable_x1 linkfont" style="width: 98%; margin: 10px auto;">
                            <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"
                                style="line-height: 25px">
                                <tr>
                                    <td align="right" valign="middle" class="TdBg1" style="padding: 2px 10px 2px 10px;
                                        width: 20%">
                                        登录帐户
                                    </td>
                                    <td align="left" valign="middle" class="TdBg1" style="padding: 2px 10px 2px 10px">
                                        <asp:Label ID="lblUserName" runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right" valign="middle" class="TdBg1" style="padding: 2px 10px 2px 10px;
                                        width: 20%">
                                        登录密码
                                    </td>
                                    <td align="left" valign="middle" class="TdBg1" style="padding: 2px 10px 2px 10px">
                                        <asp:TextBox ID="txtUserPw1d" TextMode="Password" runat="server" CssClass="EditInput_xy1"
                                            Width="150px" onmouseover="this.title=this.value;"></asp:TextBox>*
                                        <asp:Label ID="lblUserPwd" runat="server" Visible="false"></asp:Label><span style="color: Red;">（若不修改密码请留空）</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right" valign="middle" class="TdBg1" style="padding: 2px 10px 2px 10px;
                                        width: 20%">
                                        确认密码
                                    </td>
                                    <td align="left" valign="middle" class="TdBg1" style="padding: 2px 10px 2px 10px">
                                        <asp:TextBox ID="txtUserPw2d" TextMode="Password" runat="server" CssClass="EditInput_xy1"
                                            Width="150px" onmouseover="this.title=this.value;"></asp:TextBox>*
                                    </td>
                                </tr>
                                
                                <tr>
                                    <td align="right" valign="middle" class="TdBg1" style="padding: 2px 10px 2px 10px;
                                        width: 20%">
                                        姓名
                                    </td>
                                    <td align="left" valign="middle" class="TdBg1" style="padding: 2px 10px 2px 10px">
                                        <asp:TextBox ID="txtRealName" runat="server" CssClass="EditInput_xy1" Width="150px" onmouseover="this.title=this.value;"></asp:TextBox>*
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right" valign="middle" class="TdBg1" style="padding: 2px 10px 2px 10px;
                                        width: 20%">
                                        联系电话
                                    </td>
                                    <td align="left" valign="middle" class="TdBg1" style="padding: 2px 10px 2px 10px">
                                        <asp:TextBox ID="txtUserTel" runat="server" CssClass="EditInput_xy1" Width="150px" onmouseover="this.title=this.value;"></asp:TextBox>*
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right" valign="middle" class="TdBg1" style="padding: 2px 10px 2px 10px;
                                        width: 20%">
                                        操&nbsp;&nbsp;&nbsp;&nbsp;作
                                    </td>
                                    <td align="left" valign="middle" class="TdBg1" style="padding: 2px 10px 2px 10px">
                                        <asp:Button ID="btnSave" runat="server" Text=" 保 存 " CssClass="BtnSearch_x1" OnClick="btnSave_Click"
                                            Style="padding: 2px 10px 2px 10px" />
                                        <input type="reset" value=" 撤 销" class="BtnSearch_x1" style="padding: 2px 10px 2px 10px" />
                                        <asp:Button ID="btnReturn" runat="server" Text="返 回" CssClass="BtnSearch_x1" Style="padding: 2px 10px 2px 10px"
                                            OnClick="btnReturn_Click" />
                                        &nbsp;
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </td>
                    <td class="Right" height="100%">
                    </td>
                </tr>
            </table>
        </div>
        <div class="BoxFooter">
            <div class="Left">
            </div>
            <div class="Right">
            </div>
        </div>
    </div>
    </form>
</body>
</html>
